package com.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class LeaveRequest {
    @TableId
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long leaveId;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long studentId;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long classId;
    private Integer leaveType;
    private LocalDate startDate;
    private LocalDate endDate;
    private Integer leaveDays;
    private String reason;
    private Integer leaveStatus;
    private String imageUrls;
    private LocalDateTime publishDate;
    private LocalDateTime auditDate;
}